-- GENERATED SPELL FOR [Overseer Lochli] --


function spell0_26922(pUnit, Event) --@Thunderstorm,Self--
pUnit:FullCastSpellOnTarget(52717,pUnit)
pUnit:RegisterEvent('Sorts_26922', 553, 1)
end

function Sorts_26922(pUnit, Event)
local choix_sorts_26922 = math.random(0, 0)
if choix_sorts_26922 == 0 then
pUnit:RegisterEvent('spell0_26922', 1, 1)
end
end

function mob26922_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26922', math.random(1500, 3000), 1)
end

function mob26922_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26922_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26922_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26922, 1, 'mob26922_Action')
RegisterUnitEvent(26922, 2, 'mob26922_Leave')
RegisterUnitEvent(26922, 3, 'mob26922_Kill')
RegisterUnitEvent(26922, 4, 'mob26922_Die')
